package com.gh.dao;

import com.gh.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Eric
 * @Date 2021/7/27 23:12
 * @Version 1.0
 */
@Mapper
public interface PaymentDao {

    public int add(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
